package com.ccb.sc.member.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 收货地址
 * </p>
 *
 * @author ken
 * @since 2020-09-25
 */
@Data
@Accessors(chain = true)
public class ReceiverCreateVo implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty("区域ID")
    private Long regionId;

    @ApiModelProperty("街道地址")
    private String street;

    @NotNull
    @ApiModelProperty("区域名称")
    private String areaName;

    @NotNull
    @ApiModelProperty("详细地址")
    private String address;

    @NotNull
    @ApiModelProperty("收货人")
    private String consignee;

    @NotNull
    @ApiModelProperty("收货电话")
    private String phone;

    @ApiModelProperty("经度坐标")
    private BigDecimal latitude;

    @ApiModelProperty("纬度坐标")
    private BigDecimal longitude;

    @ApiModelProperty("是否为默认地址")
    private Boolean isDefault;

}
